home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9815 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  985 b 

  1. Path: jeeves.niehs.nih.gov!epr0
  2. From: duling@niehs.nih.gov (Dave Duling)
  3. Newsgroups: comp.lang.c
  4. Subject: quotes in sscanf() ????????????
  5. Followup-To: comp.lang.c
  6. Date: Wed, 13 Mar 96 18:48:38 GMT
  7. Organization: NIEHS
  8. Distribution: world
  9. Message-ID: <4i757h$pkc@jeeves.niehs.nih.gov>
  10. Reply-To: duling@niehs.nih.gov
  11. NNTP-Posting-Host: epr0.niehs.nih.gov
  12. X-Newsreader: News Xpress Version 1.0 Beta #3
  13.  
  14.  
  15. Hi.  I need to read in ASCII files of the for:
  16.  
  17. #.##,"string with , commas and spaces ", etc....
  18.  
  19. so the delimiter is a comma, the string is bound by quotes and contains both 
  20. commas and spaces (but no other quotes).  So I've played around endlessly with
  21. this but have not found the answer.  I could write a special function but it 
  22. would be more eloquent with a standard IO call to sscanf()....
  23.  
  24. Thanks for any help, Dave Duling@niehs.nih.gov
  25.  
  26. ------------------------------------------
  27. Dave Duling, scientific programmer
  28.  
  29. email.    duling@niehs.nih.gov
  30. WWW.    //alfred.niehs.nih.gov/LMB
  31.  
  32.